package com.runa.rccprotocol.dto.guangda;

import com.runa.rccprotocol.dto.ConcentratorResponseData;

import java.util.ArrayList;
import java.util.List;

/**
 * 2024/7/12 10:58
 * zhangYB
 */
public class GdConcentratorResponseData extends ConcentratorResponseData<List> {

    private Integer clientId;
    private String message;
    private List<GdEqu> dataList = new ArrayList<>();

    private boolean control;

    private String valveSerial;

    public String getValveSerial() {
        return valveSerial;
    }

    public void setValveSerial(String valveSerial) {
        this.valveSerial = valveSerial;
    }

    public boolean controlled() {
        return control;
    }

    public void setControl(boolean control) {
        this.control = control;
    }


    @Override
    public List<GdEqu> getData() {
        return dataList;
    }

    public void addData(GdEqu gdEqu) {
        dataList.add(gdEqu);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getClientId() {
        return clientId;
    }

    public void setClientId(Integer clientId) {
        this.clientId = clientId;
    }
}
